package com.molichuxing.framework.dto;

import com.molichuxing.framework.property.StorageEnvEnum;

/**
 * 文件上传入参
 * 
 * @author zoumingyu
 * @date 2019年9月18日
 *
 */
public class UploadFileRequestDto extends RootDto {
	private static final long serialVersionUID = -3883712646371258979L;

	/**
	 * 文件归属文件夹 folder
	 */
	private String folder;

	/**
	 * 阿里云oss存储bucket oss_bucket
	 */
	private String ossBucket;

	/**
	 * 本地存储根路径 local_root_path
	 */
	private String localRootPath;

	/**
	 * url前缀 prefix_url
	 */
	private String prefixUrl;

	/**
	 * 存储环境（1：公有，2：私有） storage_env
	 */
	private StorageEnvEnum storageEnv;

	public String getFolder() {
		return folder;
	}

	public void setFolder(String folder) {
		this.folder = folder;
	}

	public String getOssBucket() {
		return ossBucket;
	}

	public void setOssBucket(String ossBucket) {
		this.ossBucket = ossBucket;
	}

	public String getLocalRootPath() {
		return localRootPath;
	}

	public void setLocalRootPath(String localRootPath) {
		this.localRootPath = localRootPath;
	}

	public String getPrefixUrl() {
		return prefixUrl;
	}

	public void setPrefixUrl(String prefixUrl) {
		this.prefixUrl = prefixUrl;
	}

	public StorageEnvEnum getStorageEnv() {
		return storageEnv;
	}

	public void setStorageEnv(StorageEnvEnum storageEnv) {
		this.storageEnv = storageEnv;
	}

}
